$OpenBSD: patch-src_freexl_c,v 1.2 2015/07/24 14:20:05 jasper Exp $
--- src/freexl.c.orig	Tue Jul 14 09:45:23 2015
+++ src/freexl.c	Fri Jul 24 15:51:11 2015
@@ -108,6 +108,7 @@ lround (double num)
 }
 #endif
 
+#ifndef swap16
 static void
 swap16 (biff_word16 * word)
 {
@@ -116,7 +117,9 @@ swap16 (biff_word16 * word)
     word->bytes[0] = word->bytes[1];
     word->bytes[1] = save;
 }
+#endif
 
+#ifndef swap32
 static void
 swap32 (biff_word32 * word)
 {
@@ -129,6 +132,7 @@ swap32 (biff_word32 * word)
     word->bytes[2] = save1;
     word->bytes[3] = save0;
 }
+#endif
 
 static void
 swap_float (biff_float * word)
